package roger;

import java.io.*;

import org.xml.sax.*;
import org.xml.sax.helpers.*;

public class Parser {
	public Parser(String uri) throws SAXException, IOException {
		XMLReader saxReader = XMLReaderFactory.createXMLReader();
		saxReader.setContentHandler(new BricoloHandler());
		saxReader.parse(uri);
	}

	public static void main(String[] args) {
		try {
			Parser parser = new Parser("sax/Roger.xml");
		} catch (Throwable t) {
			t.printStackTrace();
		}
	}

}
